package tech.aister.day02;

public class IntegerCompareDemo {
    public static void main(String[] args) {

        Integer x = Integer.valueOf(-128);
        Integer y = Integer.valueOf(-128);
        System.out.println(x==y);

        Integer m = 128;
        Integer n = 128;
        System.out.println(m==n);

        Integer i = new Integer(10);
        Integer j = new Integer(10);
        System.out.println(i==j);

        int t = 10;
        System.out.println(i==t);
    }
}
